<template>
		<!--
        	作者：liushihao@yixuninfo.com
        	时间：2017-02-06
        	描述： active
        -->
		<div class="fixed-footer" id="goble_menu_div">
			<router-link class="footer-list " :to="{path:'/agencyIndex'}">
				<span class="footer-icon"></span>首页
			</router-link>

			<router-link class="footer-list " :to="{path:'/declare'}">
				<span class="footer-icon footer-sec"></span>报备
			</router-link>


			<router-link class="footer-list " :to="{path:'/dynamic'}">
				<span class="footer-icon footer-thrd"></span>动态
			</router-link>

			<router-link class="footer-list " :to="{path:'/my'}">
				<span class="footer-icon footer-four"></span>我的
			</router-link>
		</div>
</template>
<script>
export default {
  data () {
    return {
    }
  },
  mounted:function(){
  	this.initMenu();
  },
  methods:{
  	initMenu:function(){
  		$("body").on('click','.fixed-footer a',function(){
  			var aLink = $(".fixed-footer a");
  			for (var i=0;i<aLink.length;i++) {

  					$(aLink).eq(i).removeClass("active");
  			}
  			$(this).addClass("active");
  		});

  	}
  }
}
</script>

